/**
 * @name 绑本管理
 */
import request from '@/utils/request'

// 获取绑本列表
export const getBindList = data => {
  return request({
    url: '/h5/scriptApplication/userBindScript/getCspaceUserBindScriptPage',
    method: 'post',
    data
  })
}

 // 绑本任务详情
 export const getTaskInfo = data => {
   return request({
     url: '/h5/scriptApplication/userBindScriptTask/getTaskListByBindId',
     method: 'post',
     data
   })
 }

// 绑本通过
export const agreeBind = data => {
  return request({
    url: '/h5/scriptApplication/userBindScript/examinePass',
    method: 'post',
    data
  })
}

// 绑本拒绝
export const refuseBind = data => {
  return request({
    url: '/h5/scriptApplication/userBindScript/examineReject',
    method: 'post',
    data
  })
}